<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2018/10/19
 * Time: 14:17
 */

namespace app\api\validate;


class WorkMemberDepartmentParameter extends WorkMemberParameter
{

    protected $rule=[
      'userId'=>'max:64',
        'd_id'=>'require|checkDepartments'
    ];

    protected  $message = [
      'userId'=>'工号超出长度限制'
    ];
}